<template>
	<view>
		<view class="cflex-r u-m-t-20 u-m-l-10 u-m-r-10" v-for="(item,index) in jsList" :key="index" style="align-items: center;justify-content: space-between; background-color: #FFFFFF;border-radius: 15rpx;padding: 20rpx 80rpx 20rpx 30rpx;" @tap="jbClick(item)">
			<image :src="item.avatar" mode="aspectFill" style="width: 120rpx;height: 120rpx;border-radius: 50%;"></image>
			<text>{{item.name}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				jsList:'',
			}
		},
		onShow() {
		},
		onLoad() {
			this.jishiReq();
		},
		methods:{
			jbClick(item){
				// // //console.log(wid,name);
				 //console.log(item)
				uni.$emit("chooseJiShi",item)
				uni.navigateBack({
					delta:1
				})
			},
			jishiReq(){
				this.$request("kehu/jishi/getCanJuBaoJiShi",{}).then(res=>{
					this.jsList = res.data;
				})
			}
		}
	}
</script>

<style>
</style>
